home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
rapoll10.zip
/
RA-POLL.DOC
< prev
next >
Wrap
Text File
|
1990-07-07
|
4KB
|
97 lines
RA-poll ver 1.1 By Jim Black - A RemoteAccess Poll generating program
P.S. This is a quick conversion from my Q-Poll for QuickBBS
--------------------------------------------------------------------------
The ability to create polls has always existed in RemoteAccess in the form
of the questionnaire. This program merely takes the answers choosen and
creates nicely formated textfiles. RA-Poll requires two parameters to be
passed on the command line: The pollfile name (a .ctl that you must
create) and the path to your textfiles area. An example pollfile has been
included in this archive.
The controlfile:
The first line is the name of the poll being taken.
The following lines are the valid choices (Up to 40 choices allowed)
The Questionnaire:
A Questionnaire must also be created under the same name as the control
file. The questionnaire should only allow valid selections to be made.
valid choices ALWAYS begin with the letter A as the first choice thru as
many choices you have in the control file. The Questionnaire SHOULD ONLY
be answered once by each user. A flag should be used to allow the
questionnair to be taken, and that specific flag should be turned off by
the questionnaire so that it can't be taken twice. Forcing the question-
naire from the Mainmenu with the ^A and the required flag is the best way
to make sure that Everyone takes the poll, and that everyone can only take
it once.
The Output:
RA-Poll will create 4 files in your textfiles area. The first two will be
named the same name as the pollfile only with a .ANS and .ASC extension
and will be the choice breakdown. The last two reports will be the names
of the people who took the poll and what they chose. These two files will
be named after the pollfile in .ASC and .ANS flavors also, but the name
will include 'USR' in it. For example COMPUTER.CTL will create 4 files:
COMPUTER.ASC, COMPUTER.ANS, COMPUUSR.ASC, & COMPUUSR.ANS. All these
files can simply be added to your bulletin menu.
The following is the sample Questionnaire included:
changecolor 12 0
display "||Choose your computer type from the list below:"
changecolor 14 0
display "|| A. Apple Mac"
display "| B. Apple //c"
display "| C. Apple IIGS"
display "| D. Apple"
display "| E. Atari 8-bit"
display "| F. Atari ST"
display "| G. Commodore 64/128"
display "| H. Commodore Amiga"
display "| I. IBM XT or Compatable"
display "| J. IBM AT or Compatable"
display "| K. IBM PCjr"
display "| L. TRS 80 Color Computer"
display "| M. Dumb Terminal"
display "| N. Not in list"
display "||Enter selection >"
getchoice ABCDEFGHIJKLMN 1
postinfo
outputanswer 1
setflag C6 off
Note that the 'Postinfo' and 'Outputanswer 1' IS REQUIRED
Also note the 'Setflag C6 off'. This is the flag that I use on my system
to allow access to the questionnaire. From my mainmenu I force (^A) the
questionnare and also require the flag C6 to be set. All my newusers have
the C6 set to on. Anyone who hasn't taken the questionnaire (Already on
the system before the questionnaire was installed) should also have C6 set.
The following is the sample control file included:
C o m p u t e r T y p e s
Apple Mac
Apple //c
Apple IIGS
Apple
Atari 8-bit
Atari ST
Commodore 64/128
Commodore Amiga
IBM XT or Compatable
IBM AT or Compatable
IBM PCjr
TRS 80 Color Computer
Dumb Terminal
Not in List
This file is easy enough to figure out. the top line is the poll heading,
and the rest of the lines are the choices (A-N in this example).
I hope you enjoy using RA-Poll. Forward all comments to me at 1:324/115
or on my Bulletin Board at (508)682-0133.
BTW, RA-Poll is free to do with as you wish. It can't possibly hurt anything
on your system since it dosen't write any files except it's own output, but
I still must say that I take no responsibility for any damage done by the
program (Just to keep this Doc file in common with all the other you have
read in the past).